Skip to content

Agentic AI: CI/CD Pipeline, Evaluations & Per-Developer Environments#403

Merged
james-tn merged 13 commits intomainfrom
int-agentic
Feb 13, 2026
Merged

Agentic AI: CI/CD Pipeline, Evaluations & Per-Developer Environments#403
james-tn merged 13 commits intomainfrom
int-agentic

Conversation

@james-tn
Copy link
Contributor

@james-tn james-tn commented Feb 13, 2026

Promotion: int-agentic → main

This is an auto-maintained PR that promotes changes from int-agentic to main (production).

Review required before merging to production.

Recent Changes

6325978 ci: skip pipeline on doc-only changes; update workflows readme
21e09be feat: auto-promotion pipeline (dev  int-agentic  main)
2aa25a0 fix: gracefully skip PR tests when target environment not yet deployed
1a93fc3 Rename workflow to CI/CD Pipeline; fix PR trigger for int-agentic
0f10403 Add auto-import recovery for Terraform 'already exists' errors
055915b fix: strip hyphens from ACR name in Docker workflows
f7c2943 feat: per-developer GitHub Environments with OIDC

Pipeline Status

  • Integration tests passed on each developer's environment before merge to int-agentic
  • Merging this PR will trigger a full production deployment

Last updated: 2026-02-13 22:38 UTC by commit eec9912

James N. and others added 5 commits February 13, 2026 08:22
- Create 6 GitHub environments: production, integration-james,
  integration-nicole, integration-heena, integration-tim, integration-matt
- Move all variables from repo-level to environment-level
- Update orchestrate.yml: *-dev branch  integration-<name> mapping
- Uncomment environment: binding in all 7 reusable workflows
- Fix TF state key: use environment name instead of branch name
- Fix destroy.yml bugs: iteration var and unsanitized state key
- Remove auto-destroy (all environments persist)
- Add OIDC federated credentials for integration-james and production
- Create prod.tfvars for production environment
- Update GITHUB_ACTIONS_SETUP.md with developer onboarding guide
When a Terraform apply fails midway (e.g., timeout, quota), resources may
exist in Azure but not in TF state. On retry, Terraform fails with 'already
exists'. This change adds a retry loop (max 3 attempts) that:
1. Detects 'already exists' errors in apply output
2. Parses the TF resource address and Azure resource ID
3. Auto-imports orphaned resources into state
4. Retries the apply

Eliminates need for manual deletion via Azure Portal.
- Rename 'Orchestrate Deployment' -> 'CI/CD Pipeline'
- Remove int-agentic from pull_request trigger  PRs to int-agentic
  were failing because environment 'integration' has no OIDC federated
  credential. PR validation only needed for main (production gate).
- Simplify base_ref case statement
Per-developer GitHub Environments architecture
James N. added 2 commits February 13, 2026 13:12
resolve-endpoints now sets deployed=false instead of exit 1 when
Container Apps don't exist. integration-tests job checks this flag
and skips when the environment hasn't been deployed yet (e.g., first
PR to production).
James N. added 2 commits February 13, 2026 13:16
- New workflow: promote-to-main.yml
  Triggered on push to int-agentic, creates/updates a single rolling
  PR to main with latest commit summary. Human review required.

- New job: auto-merge in orchestrate.yml
  After successful full pipeline on *-dev branch, auto-merges the
  open PR from that dev branch into int-agentic (squash merge).

- Updated permissions: contents:write, pull-requests:write

Flow: dev push  full pipeline  auto-merge to int-agentic
      auto-create PR to main  human review  merge  prod deploy
@james-tn james-tn merged commit ec22bfd into main Feb 13, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant